package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 日报评论
 */
@Setter@Getter
public class NewsComment extends BaseDomain{

    //评论的用户
    private User user;
    //评论时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //评论内容
    private String content;
    //评论图片
    private String coverUrl;

    //评论的攻略
    private News news;

    //图片集合
    private String[] imgUrlsArr;

}